﻿define('ui/controller/gisBaseComponentController', [], function() {

	var gisBaseComponentController;
	
	AMapUI.loadUI(['control/BasicControl'], function(BasicControl) {

	    //缩放控件，显示Zoom值
	    gis.map.addControl(new BasicControl.Zoom({
	        position: 'rb',
	        showZoomNum: true
	    }));

	    //图层切换控件
	    gis.map.addControl(new BasicControl.LayerSwitcher({
	        position: 'rt'
	    }));
	});
	
	return gisBaseComponentController;
});